#ifndef RAY
#define RAY

#include "Vector3D.h"

class Triangle;

class Ray {
public:
	const Vector3D position;
	const Vector3D direction;
	Ray(const Vector3D& position, const Vector3D& direction);
	
	bool intersects(const Triangle& triangle, float& distance) const;
};

#endif